package com.ccp.dev.system.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.ccp.dev.core.basic.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 个人日程表 sys_my_schedule
 * 
 * @author zw
 * @date 2019-07-25 12:11:59
 */
public class SysMySchedule extends  BaseModel<SysMySchedule>
{
	private static final long serialVersionUID = 1L;

	//日程类型
    public final static Integer TYPE_HUIYI = 0;
    public final static Integer TYPE_DUBAN = 1;
    public final static Integer TYPE_GEREN = 2;

    //紧急程度0一般，1重要，2紧急
    public final static Integer URGENCY_YIBAN = 0;
    public final static Integer URGENCY_ZHONGYAO = 1;
    public final static Integer URGENCY_JINJI = 2;

    /**
     * 主键UUID
     */
	private String  id;
    /**
     * 日程类型0会议，1督办，2个人日程
     */
	private Integer  scheduleType;
    /**
     * 日程名称
     */
	private String  scheduleName;
    /**
     * 日程内容
     */
	private String  scheduleContent;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date  scheduleStart;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date  scheduleEnd;

    /**
     * 紧急程度0一般，1重要，2紧急
     */
	private Integer  scheduleUrgency;
    /**
     * 日程所属人姓名
     */
	private String  scheduleUser;
    /**
     * 日程所属人ID
     */
	private String  scheduleUserId;
    /**
     * 创建人
     */
	private String  createBy;
    /**
     * 创建时间
     */
	private Date  createTime;
    /**
     * 更新人
     */
	private String  updateBy;
    /**
     * 更新时间
     */
	private Date  updateTime;
    /**
     * 是否完成，0否1是
     */
	private Integer  scheduleComplete;

    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public Integer getScheduleType() {
        return this.scheduleType;
    }
    public void setScheduleType(Integer scheduleType) {
        this.scheduleType = scheduleType;
    }
    public String getScheduleName() {
        return this.scheduleName;
    }
    public void setScheduleName(String scheduleName) {
        this.scheduleName = scheduleName;
    }
    public String getScheduleContent() {
        return this.scheduleContent;
    }
    public void setScheduleContent(String scheduleContent) {
        this.scheduleContent = scheduleContent;
    }
    public Date getScheduleStart() {
        return this.scheduleStart;
    }
    public void setScheduleStart(Date scheduleStart) {
        this.scheduleStart = scheduleStart;
    }
    public Date getScheduleEnd() {
        return this.scheduleEnd;
    }
    public void setScheduleEnd(Date scheduleEnd) {
        this.scheduleEnd = scheduleEnd;
    }
    public Integer getScheduleUrgency() {
        return this.scheduleUrgency;
    }
    public void setScheduleUrgency(Integer scheduleUrgency) {
        this.scheduleUrgency = scheduleUrgency;
    }
    public String getScheduleUser() {
        return this.scheduleUser;
    }
    public void setScheduleUser(String scheduleUser) {
        this.scheduleUser = scheduleUser;
    }
    public String getScheduleUserId() {
        return this.scheduleUserId;
    }
    public void setScheduleUserId(String scheduleUserId) {
        this.scheduleUserId = scheduleUserId;
    }
    @Override
    public String getCreateBy() {
        return this.createBy;
    }
    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    @Override
    public Date getCreateTime() {
        return this.createTime;
    }
    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Override
    public String getUpdateBy() {
        return this.updateBy;
    }
    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    @Override
    public Date getUpdateTime() {
        return this.updateTime;
    }
    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getScheduleComplete() {
        return this.scheduleComplete;
    }
    public void setScheduleComplete(Integer scheduleComplete) {
        this.scheduleComplete = scheduleComplete;
    }


    @Override
    public String toString() {
        return "SysMySchedule{" +
                "id='" + id + '\'' +
                ", scheduleType=" + scheduleType +
                ", scheduleName='" + scheduleName + '\'' +
                ", scheduleContent='" + scheduleContent + '\'' +
                ", scheduleStart=" + scheduleStart +
                ", scheduleEnd=" + scheduleEnd +
                ", scheduleUrgency=" + scheduleUrgency +
                ", scheduleUser='" + scheduleUser + '\'' +
                ", scheduleUserId='" + scheduleUserId + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", scheduleComplete=" + scheduleComplete +
                '}';
    }
}
